import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import store from './store/index'

// 将store、router挂载到全局变量上, 方便使用
// import { useStore } from "vuex";
import { useRoute } from "vue-router";
// app.config.globalProperties.$store = useStore();
// app.config.globalProperties.$router = useRoute();
// import './assets/js/jquery.magnific-popup.min.js'
// import './assets/js/jquery-v1.12.4.min.js'
// import './assets/js/jquery.counterup.min.js'



// import './assets/js/bootstrap.min.js'
// import './assets/js/imagesloaded.pkgd.min.js'
// import './assets/js/isotope.pkgd.min.js'

// import './assets/js/main.js'
// import './assets/js/modernizr-3.11.7.min.js'
// import './assets/js/owl.carousel.min.js'
// import './assets/js/plugins.js'
// import './assets/js/popper.js'
// import './assets/js/slinky.min.js'
// import './assets/js/waypoints.min.js'
// import './assets/js/ajax-mail.js'
// <script src="./src/assets/js/ajax-mail.js"></script>
// <script src="./src/assets/js/bootstrap.min.js"></script>
// <script src="./src/assets/js/imagesloaded.pkgd.min.js"></script>
// <script src="./src/assets/js/isotope.pkgd.min.js"></script>
// <script src="./src/assets/js/jquery.counterup.min.js"></script>
// <script src="./src/assets/js/jquery.magnific-popup.min.js"></script>
// <script src="./src/assets/js/modernizr-3.11.7.min.js"></script>
// <script src="./src/assets/js/owl.carousel.min.js"></script>
// <script src="./src/assets/js/plugins.js"></script>
// <script src="./src/assets/js/popper.js"></script>
// <script src="./src/assets/js/slinky.min.js"></script>
// <script src="./src/assets/js/waypoints.min.js"></script>
// <script src="./src/assets/js/main.js"></script>


createApp(App).use(router).use(store).use(ElementPlus).mount('#app')
